#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
#include <QObject>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    QObject::connect(ui->manualbtn, SIGNAL(clicked()), this, SLOT(func()));
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::func()
{
    qDebug() << "I am manualbtn";
}

void MainWindow::on_autobtn_clicked()
{
    qDebug() << "I am autobtn";
}

